<template>
	<view class="root">
		<view class="person">
			<image src="../../../static/person.png" mode="" class="img"></image>
		</view>
		<view class="detail">
			<view class="title">
				<text>作品详情</text>
			</view>
			<view class="btn" @click="showPopup">
				<text>获取报价</text>
			</view>
		</view>
		<view class="content">
			<view>
				<text>作品名称：《人物》</text>
			</view>
			<view>
				<text>作者：赵建成</text>
			</view>
			<view>
				<text>尺寸：96.5×89.5cm</text>
			</view>
			<view>
				<text>材质：软片</text>
			</view>
			<view>
				<text>创作年代：2006年</text>
			</view>
			<view>
				<text>销售状态：待售</text>
			</view>
		<!-- 弹框 -->
		<view class="popup">
			<u-popup v-model="show" mode="center" border-radius="14" :mask-close-able="true" width="350px" height="280px">
				<view>
					<view class="title" style="position: relative;">
						<text>获取<text style="font-weight: 700;color: #FA3534;">人物</text>报价</text>
						<image src="../../../static/关闭.png" mode="" class="close" @click="show = false"></image>
					</view>
					<view style="display: flex; justify-content: space-between;margin-top: 20px;width: 90%;margin: 5%;">
						<text>姓名</text>
						<input type="text" style="width:75%;" value="" placeholder="请输入姓名" />
					</view>
					<view style="display: flex; justify-content: space-between;margin-top: 20px;width: 90%;margin: 5%;">
						<text>手机号码</text>
						<input type="text" style="width:75%;"value="" placeholder="请输入手机号码" />
					</view>
				<view class="btns">
					<text>提交</text>
				</view>
					<view class="notice">
						<text>老师会通过电话反馈课程报价，请保证电话真实畅通</text>
					</view>
				</view>
			</u-popup>
		</view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				show:false
			}
		},
		methods:{
			showPopup(){
				this.show = true
			}
		}
	}
</script>

<style lang="scss" scoped>
	.root .img{
		height: 750rpx;
		width: 100%;
	}
	.detail{
		position: relative;
		width: 90%;
		margin-left: 5%;
	}
	
	.title{
		font-size: 30rpx;
		font-weight: 700;
	}
	
	.btn{
		border: 2rpx solid #df7d7c;
		width: 180rpx;
		height: 60rpx;
		line-height: 60rpx;
		position: absolute;
		right: 0;
		top: 0;
		text-align: center;
		color: #df7d7c;
		border-radius: 10rpx;
	}
	.content{
		width: 90%;
		margin-left: 5%;
		margin-top: 20rpx;
	}
	
	.popup .title {
		text-align: center;
		margin-top: 40rpx;
	}
	
	.close {
		position: absolute;
		top: 10rpx;
		right: 40rpx;
		width: 30rpx;
		height: 30rpx;
	}
	
	.popup .btns {
		width: 90%;
		margin: 5%;
		background-color: #c6100e;
		height: 80rpx;
		color: #ffffff;
		text-align: center;
		line-height: 100rpx;
		border-radius: 16rpx;
	}
	
	.notice {
    text-align: center;
		font-size: 26rpx;
		color: #939393;
	}
</style>
